<%@page import="com.sinba.common.utils.TranType"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>会员充值</title>
<script type="text/javascript" src="../scripts/itsm/system/userRecharge.js"></script>
</head>
<body>
<div id="userRechargeGridToolbar" style="padding: 0px;display: none;">
<a onclick="itsm.system.userRecharge.openSearchWin()" class="easyui-linkbutton" id="userRechargeGrid_search" icon="icon-search" plain="true">搜索</a>
</div>

<div>
	<form id="userRechargeAdd">
		<input name="dtype" type="hidden" value="DynamicAdd"/>
		<table>
			<tr>
				<td><b>充值:</b></td>
				<td>充入会员ID:<input name="loginName"/></td>
				<td>充值金额:<input name="moeny" /></td>
				<td><input type="button" value="提交充值" id="rechargeSubmitAdd" onclick="itsm.system.userRecharge.rechargeAdd()" />
				(充值现金币账户)
				</td>
			</tr>
		</table>
	</form>
	
	<form id="staticAdd">
		<input name="dtype" type="hidden" value="StaticAdd"/>
		<table>
			<tr>
				<td><b>充值:</b></td>
				<td>充入会员ID:<input name="loginName"/></td>
				<td>充值金额:<input name="moeny" /></td>
				<td><input type="button" value="提交充值" id="staticSubmitAdd" onclick="itsm.system.userRecharge.staticAdd()" />
				(充值马币账户)
				</td>
			</tr>
		</table>
	</form>
	
	
	<form id="dynamicRed">
		<input name="dtype" type="hidden" value="DynamicRed"/>
		<table>
			<tr>
				<td><b>扣除:</b></td>
				<td>扣除会员ID:<input  name="loginName"/></td>
				<td>扣除金额:<input  name="moeny"  /></td>
				<td><input type="button" onclick="itsm.system.userRecharge.dynamicRed()" id="dynamicSubmitRed" value="提交扣除" />
					(扣除现金币账户)
				</td>
			</tr>
		</table>
	</form>
	
	
	<form id="staticRed">
		<input name="dtype" type="hidden" value="StaticRed"/>
		<table>
			<tr>
				<td><b>扣除:</b></td>
				<td>扣除会员ID:<input  name="loginName"/></td>
				<td>扣除金额:<input  name="moeny"  /></td>
				<td><input type="button" onclick="itsm.system.userRecharge.staticRed()" id="staticSubmitRed" value="提交扣除" />
					(扣除马币账户)
				</td>
			</tr>
		</table>
	</form>
	
</div>

<table id='userRechargeGrid'></table>
<div id='userRechargePager'></div>



<form id="userRechargeForm">
	<input type="hidden" name="trDTO.searchType" value="充值管理" />
</form>

<%-- 搜索  --%>
<div title="交易搜索 " id="userRecharge_search_win" class="easyui-window" closed="true" collapsible="false" modal="false" minimizable="false" maximizable="false" collapsible="false" style="width:400px; height:auto;padding:3px">
	<form id="userRecharge_search_form">	
	<table>
		<tr>
			<td>交易类型</td>
			<td><input name="trDTO.transactionType" class="input" /></td>
		</tr>
		<tr>
			<td>玩家</td>
			<td><input name="trDTO.loginName" class="input" /></td>
		</tr>
		<tr>
			<td colspan="2">
				<a class="easyui-linkbutton" icon="icon-save" href="javascript:itsm.system.userRecharge.searchTrans()">搜索</a>
			</td>
		</tr>
	</table>
	</form>
</div>


</body>
</html>